/*
CREATE TABLE "base_de_relation_variable_coefficient" (
  "id" text(11) NOT NULL,
  "groupid" text(11),
  "variable_name" text(255),
  "variable_code" text(255),
  "formula" text(255),
  "default" text(255),
  "value" text(255),
  "de_effect_range" text,
  "if_editable" integer(11),
  "remark" text(255),
  PRIMARY KEY ("id")
);
*/

use rbatis::crud;
use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct BaseDeRelationVariableCoefficient {
    pub id: String,
    pub groupid: Option<String>,
    pub variable_name: Option<String>,
    pub variable_code: Option<String>,
    pub formula: Option<String>,
    pub default: Option<String>,
    pub value: Option<String>,
    pub de_effect_range: Option<String>,
    pub if_editable: Option<i32>,
    pub remark: Option<String>,
}
crud!(BaseDeRelationVariableCoefficient {}, "base_de_relation_variable_coefficient");
